#ifndef __LASERSHOW_HPP
#define __LASERSHOW_HPP
#include <opencv2/core/core.hpp>
#include <opencv2/highgui.hpp>
 #include<opencv2/opencv.hpp>
#include "csvFileRead.h"
#include <iostream>

using namespace std;
using namespace cv;

class LaserShow
{
    public:
        LaserShow(void){};
        ~LaserShow(void){};
        void laserShowInit(unsigned int Wdith,unsigned int Height,string Window_Name);
        bool laserDataReadFromCSVfile(string filename);
        void drawLaserImage(Mat *ImageCopy,LaserMessage laserData);
        void lasershow(Mat image);
        vector<LaserMessage> laser_data;
        Mat Image;
    private:
        void setWindowName(string name);
        void setImageWdith(unsigned int Wdith);
        void setImageHeight(unsigned int Height);
        unsigned int ImageWdith,ImageHeight;
        string WindowName;
};


#endif